package cn.com.shopec.erp.financing.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

/**
 * 仓库实体类
 * @author xiaoyunfei
 *
 */
@Entity(name="TBL_WAREHOUSE")
public class WhareHouse implements Serializable {

	private static final long serialVersionUID = 1L;
	/**id**/
	private String id;
	/**仓库编号**/
	private String whNo;
	/**仓库名称**/
	private String whName;
	/**联系电话**/
	private String whPhone;
	/**联系人**/
	private String whUser;
	/**仓库地址**/
	private String whAdderss;
	/**库存类型 (1:实库 2:虚库)**/
	private Integer whType;
	/**可用标识**/
	private int deleteFlag;
	@Id
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	@Column(name="WH_NO")
	public String getWhNo() {
		return whNo;
	}
	public void setWhNo(String whNo) {
		this.whNo = whNo;
	}
	@Column(name="WH_NAME")
	public String getWhName() {
		return whName;
	}
	public void setWhName(String whName) {
		this.whName = whName;
	}
	@Column(name="WH_CON_PHONE")
	public String getWhPhone() {
		return whPhone;
	}
	public void setWhPhone(String whPhone) {
		this.whPhone = whPhone;
	}
	@Column(name="WH_CON_USER")
	public String getWhUser() {
		return whUser;
	}
	public void setWhUser(String whUser) {
		this.whUser = whUser;
	}
	@Column(name="WH_ADDRESS")
	public String getWhAdderss() {
		return whAdderss;
	}
	public void setWhAdderss(String whAdderss) {
		this.whAdderss = whAdderss;
	}
	@Column(name="DELETE_FLAG")
	public int getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	@Column(name="WH_TYPE")
	public Integer getWhType() {
		return whType;
	}
	public void setWhType(Integer whType) {
		this.whType = whType;
	}

}
